package com.ykl.cas.entity;

import org.apereo.cas.authentication.UsernamePasswordCredential;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import javax.validation.constraints.Size;


public class CustomCredential extends UsernamePasswordCredential {

  private static final Logger LOGGER = LoggerFactory.getLogger(CustomCredential.class);

  private static final long serialVersionUID = -4166149641561667276L;

  @Size(min = 6, max = 6, message = "required.capcha")
  private String capcha;


  private Long userId;

  private String status;


  public CustomCredential() {
  }

  public String getCapcha() {
    return capcha;
  }

  public void setCapcha(String capcha) {
    this.capcha = capcha;
  }


  public Long getUserId() {
    return userId;
  }

  public void setUserId(Long userId) {
    this.userId = userId;
  }

  public String getStatus() {
    return status;
  }

  public void setStatus(String status) {
    this.status = status;
  }
}